var fs = require('fs');

console.log(fs.existsSync("d:/aaa"));